package com.own.business.resource.business.base;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;

/**
 * DefaultFileRecordPathHandler
 *
 * @author chenxueli
 * @date 2024-03-27 10:04:00
 */
@SpringBootConfiguration
public class DefaultFileRecordPathHandler {

    @Bean
    @ConditionalOnMissingBean(BaseFileRecordPathHandler.class)
    public BaseFileRecordPathHandler baseFileRecordPathHandler() {
        return (path, fileRecord) -> {
            // do something
        };
    }

}
